/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package composite;

import java.util.ArrayList;
import java.util.Collection;

/**
 *
 * @author Bush
 */
public abstract class Todo extends Componente {
    protected Collection<Componente> componentes = new ArrayList<Componente>();

    public Todo() {
    }    
    
    public void add(Componente c) {
        componentes.add(c);
    }
}
